home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / SmallTalk / config / m-atari.h! < prev    next >
Text File  |  1995-08-25  |  2KB  |  66 lines

  1. /*
  2.  * Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
  3.  * Written by Steve Byrne.
  4.  *
  5.  * This file is part of GNU Smalltalk.
  6.  *
  7.  * GNU Smalltalk is free software; you can redistribute it and/or modify it
  8.  * under the terms of the GNU General Public License as published by the Free
  9.  * Software Foundation; either version 1, or (at your option) any later 
  10.  * version.  GNU Smalltalk is distributed in the hope that it will be useful, 
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General 
  13.  * Public License for more details.
  14.  * 
  15.  * You should have received a copy of the GNU General Public License along with
  16.  * GNU Smalltalk; see the file COPYING.  If not, write to the Free Software
  17.  * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  
  18.  */
  19.  
  20.  
  21. /* use a different math library for Atari's */
  22. #define DEFAULT_LIBRARIES -lpml
  23.  
  24. /* Define this on machines in which the most significant byte of a long
  25.  * integer has the lowest address, remove it for machines on which the
  26.  * least significant byte of a long integer occurs at the lowest
  27.  * address.
  28.  */
  29. #define BIG_ENDIAN
  30.  
  31.  
  32. #ifndef FOR_MAKE
  33.  
  34. /* Fopen's on this machine require the 'b' flag in addition to the directory
  35.  * to enable binary file access.
  36.  */
  37. #define BINARY_MODE_NEEDED 1
  38.  
  39. /* This is the return type of routines that are declarable as signal handlers.
  40.  * may be void for some implementations
  41.  */
  42. typedef void    signalType;
  43.  
  44. /* use gcc's builtin alloca */
  45. #define alloca         __builtin_alloca
  46.  
  47. /* override defn in mstmain/mstsave */
  48. #define MAXPATHLEN    128
  49.  
  50. #include <stdlib.h>
  51. #include <stddef.h>
  52. #include <string.h>
  53. #include <unixlib.h>
  54. #include <stdio.h>
  55.  
  56. /* fake some bsd'ness */
  57. #define gettimeofday(x, y) \
  58.   (x)->tv_sec = time(0L), (x)->tv_usec = 0
  59.  
  60. #define sigsetmask(x)    x
  61.  
  62. /* use superOptimized bcopy() instead of memcpy() */
  63. #define memcpy(to, from, n)    bcopy((from), (to), (n))
  64.  
  65. #endif /* FOR_MAKE */
  66.